package routers

import "github.com/gin-gonic/gin"

func FansAndFocusRouter(r *gin.Engine) {

	rg := r.Group("/fansAndFocus")
	{
		rg.GET("/delByIdFocus")  //取消粉丝
		rg.GET("/oneByIdFocus")  //根据用户id点击关注
		rg.GET("/allByIdFocus")  //根据id查询用户全部关注
		rg.GET("/allByIdFans")   //根据id查询用户全部粉丝
		rg.GET("/getFansCount")  //得到粉丝数
		rg.GET("/getFocusCount") //得到关注数
	}
}
